//-----------------------------------------------------------------------
// <copyright file="DirectorBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class DirectorBase
	{
		
		#region Variable Declarations
		public static string _Table = "Director";
		private long				directorId = 0;
		private string				url = string.Empty;
		private string				title = string.Empty;
		private string				summary = string.Empty;
		private string				description = string.Empty;
		private DateTime				createdDate = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				updatedDate = new DateTime(1900,1,1,0,0,0,0);
		private long				memberId = 0;
		private long				order = 0;
		private long				cateArticleID = 0;
		private long				viewed = 0;
		private string				image = string.Empty;
		private string				imagethumbnail = string.Empty;
		private int				statusId = 0;
		private long				tGKM_ObjectId = 0;
		private DateTime				startDate = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				endDate = new DateTime(1900,1,1,0,0,0,0);
		private bool				enable = false;
		private string				activateCode = string.Empty;
		#endregion
		
		#region Constructors
		public DirectorBase() {}
		
		public DirectorBase (
			long directorId,
			string url,
			string title,
			string summary,
			string description,
			DateTime createdDate,
			DateTime updatedDate,
			long memberId,
			long order,
			long cateArticleID,
			long viewed,
			string image,
			string imagethumbnail,
			int statusId,
			long tGKM_ObjectId,
			DateTime startDate,
			DateTime endDate,
			bool enable,
			string activateCode)
		
		{
			this.directorId = directorId;
			this.url = url;
			this.title = title;
			this.summary = summary;
			this.description = description;
			this.createdDate = createdDate;
			this.updatedDate = updatedDate;
			this.memberId = memberId;
			this.order = order;
			this.cateArticleID = cateArticleID;
			this.viewed = viewed;
			this.image = image;
			this.imagethumbnail = imagethumbnail;
			this.statusId = statusId;
			this.tGKM_ObjectId = tGKM_ObjectId;
			this.startDate = startDate;
			this.endDate = endDate;
			this.enable = enable;
			this.activateCode = activateCode;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long DirectorId
		{
			get { return directorId; }
			set { directorId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Url
		{
			get { return url; }
			set { url = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Title
		{
			get { return title; }
			set { title = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Summary
		{
			get { return summary; }
			set { summary = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime UpdatedDate
		{
			get { return updatedDate; }
			set { updatedDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long MemberId
		{
			get { return memberId; }
			set { memberId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Order
		{
			get { return order; }
			set { order = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long CateArticleID
		{
			get { return cateArticleID; }
			set { cateArticleID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Viewed
		{
			get { return viewed; }
			set { viewed = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Image
		{
			get { return image; }
			set { image = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Imagethumbnail
		{
			get { return imagethumbnail; }
			set { imagethumbnail = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int StatusId
		{
			get { return statusId; }
			set { statusId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long TGKM_ObjectId
		{
			get { return tGKM_ObjectId; }
			set { tGKM_ObjectId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime StartDate
		{
			get { return startDate; }
			set { startDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime EndDate
		{
			get { return endDate; }
			set { endDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Enable
		{
			get { return enable; }
			set { enable = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string ActivateCode
		{
			get { return activateCode; }
			set { activateCode = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum DirectorColumns
	{
		DirectorId,
		Url,
		Title,
		Summary,
		Description,
		CreatedDate,
		UpdatedDate,
		MemberId,
		Order,
		CateArticleID,
		Viewed,
		Image,
		Imagethumbnail,
		StatusId,
		TGKM_ObjectId,
		StartDate,
		EndDate,
		Enable,
		ActivateCode
	}//End enum
}